projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deacae0
)
(split_font_name): Make sure to leave the loop
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 14 May 2001 12:46:12 +0000
(12:46 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 14 May 2001 12:46:12 +0000
(12:46 +0000)
with the right value of `i'.
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index a50ec9ae2a9dcdd66c1a1f52c705bdf0ea2c85e1..93acc8b5317b988a25085f73305925c7b120b469 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-2205,9
+2205,10
@@
split_font_name (f, font, numeric_p)
{
char *p = xstrlwr (font->name) + 1;
-
for (; i < XLFD_LAST; ++i
)
+
while (i < XLFD_LAST
)
{
font->fields[i] = p;
+ ++i;
/* Pixel and point size may be of the form `[....]'. For
BNF, see XLFD spec, chapter 4. Negative values are